/*
 * @Author: Ron
 * @Date: 2022-02-09 21:01:19
 * @LastEditors: Ron
 * @LastEditTime: 2022-02-09 21:22:16
 */
// 生产环境清除console.log
const prodPlugins = [];
if (process.env.NODE_ENV === "production") {
  prodPlugins.push("transform-remove-console");
}

module.exports = {
  presets: ["@vue/cli-plugin-babel/preset"],
  plugins: [...prodPlugins],
};
